From: Jerome Forissier Date: Thu, 18 Oct 2018 14:41:25 +0000 (+0200) Subject: qemu: increase PLAT_QEMU_DT_MAX_SIZE to 1 MiB X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=bde0f3279dc9368b013dbe45f123648580d991ff;p=project%2Fbcm63xx%2Fatf.git qemu: increase PLAT_QEMU_DT_MAX_SIZE to 1 MiB Since upstream QEMU commit 14ec3cbd7c1e ("device_tree: Increase FDT_MAX_SIZE to 1 MiB"), which is included in release v2.12.1 and later, BL2 initialization fails with the following error (-3 is -FDT_ERR_NOSPACE): ERROR: Invalid Device Tree at 0x40000000: error -3 Increase PLAT_QEMU_DT_MAX_SIZE accordingly. Signed-off-by: Jerome Forissier --- diff --git a/plat/qemu/include/platform_def.h b/plat/qemu/include/platform_def.h index 55252c38..c2289bc5 100644 --- a/plat/qemu/include/platform_def.h +++ b/plat/qemu/include/platform_def.h @@ -223,7 +223,7 @@ * DT related constants */ #define PLAT_QEMU_DT_BASE NS_DRAM0_BASE -#define PLAT_QEMU_DT_MAX_SIZE 0x10000 +#define PLAT_QEMU_DT_MAX_SIZE 0x100000 /* * System counter